home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: ?? How to dump text files to screen ?? - Showit.c [01/01]
- Date: 25 Mar 1996 07:37:02 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4j6eiuINNbqn@keats.ugrad.cs.ubc.ca>
- References: <31430CE8.469E@aol2.com> <4iocgq$kep@kryten.awinc.com> <315321FA.35A4@netscape.com> <4ivjfo$gb4@ss.netgate.net>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <4ivjfo$gb4@ss.netgate.net>,
- Tamara Johnson <malihini@netgate.net> wrote:
- >system( "type value1.txt" );
- > ^^^^^^^^^^
- > your file name
- >
- >(Got out of MS Visual C++ help file
- > in the fprintf example).
- >
- >(New at C)
- >Tamara
-
- On my system, type is a shell builtin command which tells you how a command
- gets interpreted by the shell without actually running it. So if I enter
-
- type echo
-
- the Bourne shell responds with: ``echo is a shell builtin''. If I type
-
- type vi
-
- it responds with: ``vi is /usr/bin/vi''.
-
-
- I'm afraid that your solution is highly system specific and has little to do
- with C.
-
-
-
-
-
-
-
- --
-
-